package com.itheima.test;

import com.spring.test.service.ShowService;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author ChaunceyZhang
 * @date 2022-10-15 21:08
 * @blog1 https://zephyr-cyber.github.io/
 * @blog2 https://www.yuque.com/gougougou-xwscx
 */
public class Demo01 {
    @Test
    public void test(){
        ClassPathXmlApplicationContext ioc = new ClassPathXmlApplicationContext("applicationContext.xml");
        ShowService showService = (ShowService) ioc.getBean("ShowService");
        showService.show();
    }


}
